<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>仓储系统--门店管理</title>
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/zhanqu.css">
    <script src="js/base.js"></script>
</head>
<body>
<div class="all">
    <script src="js/top.js"></script>
    <div class="cnt">
        <div class="cnt"><div style="min-height:400px" class="nav" id="nav"></div>
        <script src="js/nav.js"></script>
<!--        <script>-->
<!--            setColor(2)-->
<!--        </script>-->
        <div class="main">
            <div class="main_top">
                <h3>门店管理</h3>

                <div class="search" id="search_div">
                    <input id="stitle" placeholder="门店名称/门店编码"/>
                    <img id="search_btn"
                         onclick="search()"
                         width="16" src="images/search.png"/>
                </div>
                <div class="btn" id="add_btn" onclick="add()">新增门店</div>
                <div class="btn" id="save_btn" style="display:none" onclick="save()">保存</div>
                <div class="btn" id="return_btn" style="display:none" onclick="returnMain()">返回</div>
            </div>

            <div style="height:1px;width:100%;background:#ccc;margin:10px auto"></div>

            <div id="loading" style="text-align: center;height:300px;line-height: 300px">
                <img src="images/loading.webp"/>
            </div>
            <div id="list_div"></div>
            <div id="page_div">
                <div class="page_btn" onclick="index_page()">首页</div>
                <div class="page_btn" onclick="pre_page()">上一页</div>
                <div class="page_btn"><span id="current_page"></span>/<span id="total_page"></span></div>
                <div class="page_btn" onclick="next_page()">下一页</div>
                <div class="page_btn" onclick="tail_page()">尾页</div>
                <div class="page_btn"><input id="input_page" /></div>
                <div class="page_btn" onclick="to_page()">跳转</div>
            </div>
            <div id="add_div" style="display:none;">
                <table>
                    <tr class="input_div">
                        <td><span style="color:red">* </span></td>
                        <td align="left">门店名称：</td>
                        <td><input id="zname"/><br/>

                            <div id="zname_error" style="color:red"></div>

                        </td>
                    </tr>
                    <tr class="input_div">
                        <td><span style="color:red">* </span></td>
                        <td align="left">门店编码：</td>
                        <td><input id="code"/></td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">负责人名称：</td>
                        <td><input id="admin_name"/></td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">负责人联系方式：</td>
                        <td><input id="admin_tel"/></td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">状态：</td>
                        <td><select id="status1">
                            <option value="启用">启用</option>
                            <option value="禁用">禁用</option>
                        </select></td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">所属战区：</td>
                        <td><select id="zhanqu_input">
                        </select></td>
                    </tr>
                </table>


            </div>
        </div>
    </div>
    <div class="bot">
        Copyright © 2022-2023 XINLING. All Rights Reserved.
    </div>
</div>
<script src="js/mendian.js"></script>
</body>
</html>
